//1天      5天                                6天                                7天
//        (4+1)*2            根据第7天计算第6天   (1+1)*2                      1
package day1119;

public class Demo5 {
    public static void main(String[] args) {
        int i=7;
        int count=1;
        while(i>=1){
            count=(count+1)*2;
            i--;
        }
        System.out.println(count);
    }
}
